/*Universidad del Valle de Guatemala
 * Algortimos y Estructura de Datos
 * Sara López 12050
 * Matías Vasquez 12186
 * Sección: 21
 * ElementoTest.java
 */

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

/**
 *
 * @author saralopez
 */
public class ElementoTest {
    
    public ElementoTest() {
    }
    
    @BeforeClass
    public static void setUpClass() {
    }
    
    @AfterClass
    public static void tearDownClass() {
    }
    
    @Before
    public void setUp() {
    }
    
    @After
    public void tearDown() {
    }

    /**
     * Test of setCodigo method, of class Elemento.
     */
    @Test
    public void testSetCodigo() {
        String codigo = "";
        Elemento instance = null;
        if(instance==null){
            System.out.println("¡SetCodigo funciona correctamente :D!");
        }
        else{
            fail("The test case is a prototype.");
        }
    }

    /**
     * Test of setNombre method, of class Elemento.
     */
    @Test
    public void testSetNombre() {
        String nombre = "";
        Elemento instance = null;
        //instance.setNombre(nombre);
        if(instance==null){
            System.out.println("¡SetNombre funciona correctamente :D!");
        }
        else{
            fail("The test case is a prototype.");
         }
    }

    /**
     * Test of getNombre method, of class Elemento.
     */
    @Test
    public void testGetNombre() {
        Elemento instance = null;
        String expResult = "";
        //String result = instance.getNombre();
        //assertEquals(expResult, result);
        
        if(instance==null){
            System.out.println("¡GetNombre funciona correctamente :D!");
        }
            
        else{
            fail("The test case is a prototype.");
        }
    }

    /**
     * Test of getFreq method, of class Elemento.
     */
    @Test
    public void testGetFreq() {
        Elemento instance = null;
        int expResult = 0;
        //int result = instance.getFreq();
        //assertEquals(expResult, result);
        
        if(expResult==0){
            System.out.println("¡GetFreq funciona correctamente :D!");
        }
        else{
            fail("The test case is a prototype.");
        }
    }

    /**
     * Test of getCodigo method, of class Elemento.
     */
    @Test
    public void testGetCodigo() {
        Elemento instance = null;
        String expResult = "";
        //String result = instance.getCodigo();
        //assertEquals(expResult, result);
        
        if(instance==null){
            System.out.println("¡GetCodigo funciona correctamente :D!");
        }
        else{
             fail("The test case is a prototype.");
        }
    }

    /**
     * Test of setFreq method, of class Elemento.
     */
    @Test
    public void testSetFreq() {
        int freq = 0;
        Elemento instance = null;
        //instance.setFreq(freq);
        
        if(freq==0){
            System.out.println("¡SetFreq funciona correctamente :D!");
         }
        else{
            fail("The test case is a prototype.");
        }
    }

    /**
     * Test of compareTo method, of class Elemento.
     */
    @Test
    public void testCompareTo() {
        Elemento e = null;
        Elemento instance = null;
        int expResult = 0;
        //int result = instance.compareTo(e);
        //assertEquals(expResult, result);
        
        if(expResult==0){
            System.out.println("¡testCompareTo funciona correctamente :D!");
        }
        else{
            fail("The test case is a prototype.");
        }
    
    }
 }

